<%= simple_form_for(@supplier) do |f| %>
<%= f.error_notification %>
<%= f.error_notification message: f.object.errors[:base].to_sentence if f.object.errors[:base].present? %>

<div class="row">
	<div class="col-md-6">
		<%= f.input :name, label: '公司名称' %>
	</div>
	<div class="col-md-6">
		<%= f.input :address, label: '公司地址' %>
	</div>
</div>
<div class="row">
	<div class="col-md-6">
		<%= f.input :tel, label: '公司电话' %>
	</div>
	<div class="col-md-6">
		<%= f.input :fax, label: '传真' %>
	</div>
</div>

<div class="row">
	<div class="col-md-6">
		<%= f.input :tax_no , label: '税号'%>
	</div>
	<div class="col-md-6">

	</div>
</div>

<div class="row">
	<div class="col-md-6">
		<%= f.input :bank , label: '开户银行'%>
	</div>
	<div class="col-md-6">
		<%= f.input :bank_account, label: '银行账号' %>
	</div>
</div>




<%= f.button :submit, '提交',class: "btn btn-blue btn-xs" %>

<% end %>
